package com.mao.crowd.service.api;

import entity.Auth;

import java.util.List;
import java.util.Map;

/**
 * @author maomeng
 * @create 2021-06-07- 14:42
 */
public interface AuthService {

    List<Auth> getAllAuth();

    List<Integer> getAssignedAuthIdByRoleId(Integer roleId);

    void saveRoleAuthRelationship(Map<String, List<Integer>> map);

    List<String> getAssignedAuthNameByAdminId(Integer adminId);

}
